/**  
 * All rights Reserved, Designed By Android_Robot   
 * @Title:  HuoDongListEvent.java   
 * @Package com.jiyi.event   
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: HYM     
 * @date:   2017-7-3 上午9:27:41   
 * @version V1.0     
 */
package com.jiyi.event;

import java.util.ArrayList;
import java.util.List;

import android.R.integer;

import com.jiyi.bean.zone.ZoneHaoYouBean;

/**
 * @ClassName: HaoYouListEvent
 * @Description:TODO(这里用一句话描述这个类的作用)
 * @author: HYM
 * @date: 2017-7-3 上午9:27:41
 * 
 */
public class MaintenanceTaskListEvent {
	//1：我的任务列表 0 全部 1 待签到 2 待抽检 3 已完成
	public int type = 0 ;
	public final static int ALL_LIST = 0;
	public final static int SIGN_LIST = 1;
	public final static int DETECT_LIST = 2;
	public final static int FINISH_LIST = 3;
	//需要刷新的功能点 1：签到完成 2：选择人员完成  3:系统抽检项一项完成 4：全部抽检项完成
	public int func;
	public List<ZoneHaoYouBean> joinMembers;
	public int position;
	public int detectCatePosition;
	public int detectCateStatus;
	public int faultNum;
	public MaintenanceTaskListEvent(int type) {
		this.type = type;
	}
	
	public MaintenanceTaskListEvent(int type,int position,int func) {
		this.type = type;
		this.position = position;
		this.func = func;
	}
	
	public MaintenanceTaskListEvent(int type,int position,int detectCatePosition,int detectCateStatus,int func) {
		this.type = type;
		this.position = position;
		this.detectCatePosition = detectCatePosition;
		this.detectCateStatus = detectCateStatus;
		this.func = func;
	}
	
	public MaintenanceTaskListEvent(int type,int position,int detectCatePosition,int detectCateStatus,int faultNum,int func) {
		this.type = type;
		this.position = position;
		this.detectCatePosition = detectCatePosition;
		this.detectCateStatus = detectCateStatus;
		this.faultNum = faultNum;
		this.func = func;
	}
	
	public MaintenanceTaskListEvent(int type,int position, List<ZoneHaoYouBean> temp,int func) {
		this.type = type;
		this.joinMembers = temp;
		this.position = position;
		this.func = func;
	}
}
